home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1994 2nd Q2 / The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin / contents / lprintm.bat < prev    next >
DOS Batch File  |  1993-08-09  |  1KB  |  42 lines

  1. @echo off
  2.  
  3. If %1! == ! goto endit
  4.  
  5. rem The program number is passed in the %1 variable and the RPT filename is
  6. rem passed in the %2 variable.
  7.  
  8. :doitagain
  9.  
  10. lprint /P%1 /R%2 /N
  11. echo Press a key to print another or CTRL-BREAK to cancel.
  12. pause >nul
  13.  
  14. goto doitagain
  15.  
  16. rem The LPRINT.EXE program pauses before printing to verify that you wish to
  17. rem print a label.  This verification is by passed by the command line 
  18. rem parameter /N.  It is necessary to use the PAUSE command to be able to
  19. rem break out of the batch file.
  20.  
  21. :endit
  22. cls
  23. echo LPRINTM.BAT  -  LPRINT multiple copies of a single label.
  24. echo.
  25. echo This batch is designed for use with the LPRINT.EXE program.  This batch
  26. echo file performs a simple loop to allow you to print multiple copies of
  27. echo a single label.
  28. echo ────────────────────────────────────────────────────────────────────────────────
  29. echo.
  30. echo    You must enter the program number and RPT filename.  Example:
  31. echo.
  32. echo    LPRINTM 1660 ACCOTING
  33. echo.
  34. echo    Where 1660 is the program number and ACCOTING is the category filename.
  35. echo.
  36. echo.
  37. echo    View this batch file for more information...
  38. echo.
  39. echo.
  40.  
  41.  
  42.